package com.wyj.longrangeclient;

import android.app.Application;

import com.tencent.bugly.crashreport.CrashReport;
import com.wyj.longrangeclient.Util.RxBus;

/**
 * author : 泥菩萨
 * time   : 2023/04/14
 */
public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        CrashReport.initCrashReport(getApplicationContext(), "f9b26158b5", false);

        RxBus.getInstance().start(); //开启RxBus
    }

    @Override
    public void onTerminate() {
        super.onTerminate();

        RxBus.getInstance().end(); //关闭RxBus
    }
}
